Skip to main content
POST
/
action
/
company_research_v2_render_html
[CR10] Render Report HTML
curl --request POST \
  --url https://api-lr.agent.ai/v1/action/company_research_v2_render_html \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "output_variable_name": "report_html",
  "report_data": "{{ company_research }}",
  "report_id": "<string>"
}
'
{
  "status": 123,
  "response": {}
}

Authorizations

Authorization
string
header
required

Bearer token from your account (https://agent.ai/user/integrations#api)

Body

application/json
output_variable_name
string
default:report_html
required

Variable name for the rendered HTML result.

Pattern: ^[a-zA-Z][a-zA-Z0-9_]*$
report_data
string
default:{{ company_research }}

Output from [CRFull] Run Full Company Research action. This is the preferred input method.

report_id
string

UUID of the report to render. Use this if you don't have the full report data.

Response

Successful response

status
integer<int32>

HTTP status code of the action response

response
object

Response data from the action